package com.example.houseman.mapper;

import com.example.houseman.entity.TbRoomReservation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.org.dto.RoomReservationDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 预约房源表 Mapper 接口
 * </p>
 *
 * @author 龚梦
 * @since 2021-03-30
 */
public interface TbRoomReservationMapper extends BaseMapper<TbRoomReservation> {

    List<TbRoomReservation> selects(RoomReservationDto roomReservationDto);

    boolean update(@Param("status") Integer status, @Param("ids") String id);
}
